package com.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = JWTProperties.PREFIX)
@Getter
@Setter
public class JWTProperties {
    public static final String PREFIX = "jwt";

    private String secretKey;

    private long tokenValidityInSeconds;
}
